package com.weixiaodong.ModelDesign.适应设计模式.Adapter模式.适配器模式演示案例.使用继承的适配器;

/**
 * 广告输出类
 */
public class PrintBanner extends Banner implements Print {

    public PrintBanner(String banner) {
        super(banner);
    }

    @Override
    public void PrintWeek() {
        ShowBannerWithParen();
    }

    @Override
    public void PrintStronger() {
        ShowBannerWithAster();
    }
}
